package com.xkdx.guangguang.fragment.user;

import java.util.HashMap;

import android.support.v4.app.FragmentManager;

import com.xkdx.guangguang.fragment.BaseFragment;
import com.xkdx.guangguang.module.network.AbsModule;
import com.xkdx.guangguang.module.network.HttpTask;
import com.xkdx.guangguang.module.network.JsonHttpRequest;

public class UserQuickRegistPresenter extends HttpTask {

	public UserQuickRegistPresenter(BaseFragment base) {
		this.baseFragment = base;
		this.connectTimeout = 3000;
		this.soTimeOut = 3000;
		requestInstent = new JsonHttpRequest();
		mUseCache = false;
	}

	@Override
	protected void onPostExecute(HashMap<String, AbsModule> result) {
		// if (!this.isCancelled()) {
		if (baseFragment != null) {
			baseFragment.showClick(result);
		}
		// }
	}
}
